<link rel="stylesheet" href="__STATIC__/mp/css/task.css">
<table class="layui-table" style="width:100%" id="demo1" lay-filter="demo1">
    <thead>
        <tr>
        	<td>sss</td>
          <td height="22">工厂</td>
          <td>物料属性</td>
          <td>物料名称</td>
          <td>物料SKU</td>
          <td>色号</td>
          <td>颜色</td>
          <td>米莫大概用量</td>
          <td>总用量(02.01-至今)</td>
          <td>总订单数(02.01-至今)</td>
          <td>总裁数(02.01-至今)</td>
          <td>总用量(近15天)</td>
          <td>总订单数(近15天)</td>
          <td>总订单数(近15天)</td>
        </tr>
    </thead>
    <tbody>
        {foreach $datalist as $k => $v}
        <tr>
        <td>{$k}</td>
          <td>{$factoryKV[$v['factory_id']]}</td>
          <td>{$mtype[$v['type']]}</td>
          <td>{$v['name']}</td>
          <td>{$v['material_sku']}</td>
          <td>{$v['colornum']}</td>
          <td>{$v['color']}</td>
          <td>{$v['material_dosage']}</td>
          <td>{$v['use_total']}</td>
          <td>{$v['use_count']}</td>
          <td>{$v['shicai_count']}</td>
          <td>{$v['use_total15']}</td>
          <td>{$v['use_count15']}</td>
          <td>{$v['shicai_count15']}</td>
        </tr>
        {/foreach}
    </tbody>
</table>